package dian.qing.li.demo.security.config;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * elasticsearch配置属性
 *
 * @author: liqingdian
 */
@Component
@ConfigurationProperties(prefix = "pactera")
@Data
@EqualsAndHashCode
@NoArgsConstructor
public class AppProperties {
    /** 安全配置 */
    private Secutity security = new AppProperties.Secutity();

    @Data
    @NoArgsConstructor
    public static class Secutity {
        /** 是否校验验证码 */
        private Boolean verifyCode = true;
    }
}
